import React from 'react'
import {Switch, Route} from 'react-router-dom'
import PushMain from "./PushMain/PushMain"
import BasketballPush from "./BasketballPush/BasketballPush"
import FootballPush from "./FootballPush/FootballPush"

const PushSetting = props => {
    const {match,} = props
    return (
        <Switch>
            <Route path={`${match.url}/`} exact component={PushMain}/>
            <Route path={`${match.url}/basketball`} component={BasketballPush}/>
            <Route path={`${match.url}/football`} component={FootballPush}/>
        </Switch>
    )
}

export default PushSetting
